package cn.dnui_001zjs.dao;

import java.util.List;

import org.springframework.stereotype.Component;

import cn.dnui_001zjs.po.Trip;
import cn.dnui_001zjs.po.TripComment;

@Component
public interface TripDao {
	public List<Trip> getTripList();

	public int addTrip(Trip trip);

	public int delTripByID(Integer tripid);

	public Trip getTripByID(Integer tripid);

	public int updateTrip(Trip trip);
	public List<TripComment> getComment();

}
